package com.mall.order.converter;

import com.mall.order.dal.entitys.OrderItem;
import com.mall.order.dto.OrderItemDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface OrderDetailConverter {

    List<OrderItemDto> orderItemsToOrderItemDto(List<OrderItem> orderItems);
}
